﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPPublic.eneity
{
    /// <summary>
    /// 市
    /// </summary>
    [SugarTable("City")]
    public class City
    {
        /// <summary>
        ///市id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int? CityId { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public string? CityName { get; set; }
        /// <summary>
        /// 省id
        /// </summary>
        public int? ProvinceId { get; set; }

    }
}
